# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file './widget_stockbrowser.ui'
#
# Created: Fri May 17 17:54:52 2013
#      by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_StockBrowser(object):
    def setupUi(self, StockBrowser):
        StockBrowser.setObjectName(_fromUtf8("StockBrowser"))
        StockBrowser.resize(254, 460)
        self.verticalLayout_2 = QtGui.QVBoxLayout(StockBrowser)
        self.verticalLayout_2.setSpacing(3)
        self.verticalLayout_2.setMargin(3)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label = QtGui.QLabel(StockBrowser)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_7.addWidget(self.label)
        self.lineEditFilter = QtGui.QLineEdit(StockBrowser)
        self.lineEditFilter.setObjectName(_fromUtf8("lineEditFilter"))
        self.horizontalLayout_7.addWidget(self.lineEditFilter)
        self.pushButtonRefresh = QtGui.QPushButton(StockBrowser)
        self.pushButtonRefresh.setObjectName(_fromUtf8("pushButtonRefresh"))
        self.horizontalLayout_7.addWidget(self.pushButtonRefresh)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.tabWidgetStock = QtGui.QTabWidget(StockBrowser)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidgetStock.sizePolicy().hasHeightForWidth())
        self.tabWidgetStock.setSizePolicy(sizePolicy)
        self.tabWidgetStock.setMinimumSize(QtCore.QSize(0, 70))
        self.tabWidgetStock.setObjectName(_fromUtf8("tabWidgetStock"))
        self.tabStockset = QtGui.QWidget()
        self.tabStockset.setObjectName(_fromUtf8("tabStockset"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabStockset)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setMargin(3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.comboBoxStockset = QtGui.QComboBox(self.tabStockset)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.comboBoxStockset.sizePolicy().hasHeightForWidth())
        self.comboBoxStockset.setSizePolicy(sizePolicy)
        self.comboBoxStockset.setObjectName(_fromUtf8("comboBoxStockset"))
        self.horizontalLayout_4.addWidget(self.comboBoxStockset)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.pushButtonStocksetNew = QtGui.QPushButton(self.tabStockset)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonStocksetNew.sizePolicy().hasHeightForWidth())
        self.pushButtonStocksetNew.setSizePolicy(sizePolicy)
        self.pushButtonStocksetNew.setObjectName(_fromUtf8("pushButtonStocksetNew"))
        self.horizontalLayout_4.addWidget(self.pushButtonStocksetNew)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.tableWidgetStockset = QtGui.QTableWidget(self.tabStockset)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(8)
        self.tableWidgetStockset.setFont(font)
        self.tableWidgetStockset.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.tableWidgetStockset.setObjectName(_fromUtf8("tableWidgetStockset"))
        self.tableWidgetStockset.setColumnCount(0)
        self.tableWidgetStockset.setRowCount(0)
        self.verticalLayout.addWidget(self.tableWidgetStockset)
        self.tabWidgetStock.addTab(self.tabStockset, _fromUtf8(""))
        self.tabAll = QtGui.QWidget()
        self.tabAll.setObjectName(_fromUtf8("tabAll"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.tabAll)
        self.horizontalLayout_8.setSpacing(3)
        self.horizontalLayout_8.setMargin(3)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.tableWidgetAll = QtGui.QTableWidget(self.tabAll)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(8)
        self.tableWidgetAll.setFont(font)
        self.tableWidgetAll.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.tableWidgetAll.setObjectName(_fromUtf8("tableWidgetAll"))
        self.tableWidgetAll.setColumnCount(0)
        self.tableWidgetAll.setRowCount(0)
        self.horizontalLayout_8.addWidget(self.tableWidgetAll)
        self.tabWidgetStock.addTab(self.tabAll, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidgetStock)
        self.label.setBuddy(self.lineEditFilter)

        self.retranslateUi(StockBrowser)
        self.tabWidgetStock.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(StockBrowser)

    def retranslateUi(self, StockBrowser):
        StockBrowser.setWindowTitle(QtGui.QApplication.translate("StockBrowser", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("StockBrowser", "&Filter", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonRefresh.setText(QtGui.QApplication.translate("StockBrowser", "&Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.tabStockset.setToolTip(QtGui.QApplication.translate("StockBrowser", "List stocks belonging to one Stock Set only; allows to remove items.", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonStocksetNew.setText(QtGui.QApplication.translate("StockBrowser", "Create &new...", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidgetStockset.setSortingEnabled(True)
        self.tabWidgetStock.setTabText(self.tabWidgetStock.indexOf(self.tabStockset), QtGui.QApplication.translate("StockBrowser", "Stock Sets", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidgetAll.setSortingEnabled(True)
        self.tabWidgetStock.setTabText(self.tabWidgetStock.indexOf(self.tabAll), QtGui.QApplication.translate("StockBrowser", "All stocks", None, QtGui.QApplication.UnicodeUTF8))

